#ifndef DCPU_H_
#define DCPU_H_
#include <iostream>
//LITTLE ENDIAN (lsb right) processor
#define WORD_SIZE 2 
#define RAM_SIZE 0x10000
#define INTERRUPT_SIZE 256

struct IQN {
	IQN *next;
	unsigned short msg;
};

void _push(unsigned short *v);
void _pop(unsigned short *v);
void _peek(unsigned short *v);

void _memdump(std::ostream &out);
void _progdump(std::ostream &out);



#endif